package com.qf.ssm.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qf.ssm.po.CarType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author chengqiang
 * @Create 2024-01-03-17:40
 * @Description: 租赁记录
 */
@Data
public class CustomerOrderVO {
    @ApiModelProperty(value = "订单主键")
    private Integer orderId;

    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    @JsonFormat(
            pattern = "yyyy年MM月dd日",
            timezone = "GMT+8"
    )
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "订单编号")
    private Integer orderNumber;

    @ApiModelProperty(value = "预定车型")
    private CarType carType;

    @ApiModelProperty(value = "取车时间")
    private Date collectionTime;

    @ApiModelProperty(value = "还车时间")
    private Date returnTime;

    @ApiModelProperty(value = "用车时间")
    private String useDate;

    @ApiModelProperty(value = "金额")
    private int paymentAmount;

}
